Astronomical clock (0BA7 only)

Short description

The astronomical clock SFB is used to set an output high between sunrise and sunset based on the local time at the geographical location of the LOGO! 0BA7 devices. The output status of this function block also depends on the configuration of summer time/wintertime conversion.

Connection

Description

Parameter

The location info including longitude, latitude and time zone.

Output Q

Q is set to hi when sunrise time is reached. It holds this state until sunset time is reached.

Parameters

In the astronomical clock dialog, you can select the location of the LOOG! 0BA7 device. You can select one of following pre-defined time zone locations:

If you select one of these locations, LOGO!Soft Comfort uses the latitude, longitude, and time zone of your selection.

Alternatively, you can configure a specific latitude, longitude, and time zone for your location, and provide a name for this custom location.

Based on the location and time zone, LOGO! calculates the absolute sunrise and sunset time for the current day. The block also takes summer time/winter time into consideration, if it is configured on the computer where LOGO!Soft Comfort is installed. To do such configuration, you should select check box of "Automatically adjust clock for daylight for saving changes" in the "Date and Time Properties" dialog.

Timing diagram

Description of function

The function calculates the value at the input and sets or resets Q depending on the sunrise time and sunset time at the configured location and time zone of the module.

Special Functions Overview